from xml.etree import ElementTree as ET
#=00 fetch an RSS feed
import urllib2 #00
rss = urllib2.urlopen("http://www.mininova.org/rss.xml?sub=416") #00
#=01 parse it
tree = ET.parse(rss) #01
#=02 get the root of the XML
for channel in tree.getroot(): #02
#=03 channel has items 
    for item in channel: #03
        title=link=''
#=04 item has a bunch of nodes
#=05 we want title and link
        for elem in item: #04
            if elem.tag == 'title': #05
                title = elem.text
            elif elem.tag == 'link': #05
                link = elem.text
#=06 print title and link
        print title, link #06
